home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 009a / snpd0493.zip / PERMUTE1.C < prev    next >
C/C++ Source or Header  |  1993-04-05  |  285b  |  13 lines

  1. .I 0 2
  2. #include<stdio.h>
  3. #include<stdlib.h>
  4. .D 1 1
  5. .I 74 3
  6.             for ( i = ++pos[j]; str[i] && ! counts[i]; i++)
  7.             ;
  8.             if (0 != (curr[j] = str[i]))              /* found a char   */
  9. .D 75 2
  10. .I 106 1
  11.       while (NULL != (str = chouse_n(NULL, i)))
  12. .D 107 1
  13.